#include <nemesis.xml.Attribute.h>
#include <nemesis.xml.Namespace.h>

using namespace std;
using namespace nemesis;

string xml::Attribute::asString () const 
   throw ()
{
   std::string result ("xml::Attribute {");
   result += Data::asString ();
   result += " | Name: ";
   result += a_name;
   
   if (a_namespace != NULL) {
      result += " | ";
      result += a_namespace->asString ();
   }
   
   return result += " }";      
}

